package form.ui.component.List
{
	public interface IListBase
	{
		function get dataProvider():Array;
		function set dataProvider(value:Array):void;
		
		function get selectedItem():Object;
		function set selectedItem(value:Object):void;
		function setItemSelected(value:Object, autoScroll:Boolean = true, dispatch:Boolean = true):void;
		
		function get selectedIndex():int;
		function set selectedIndex(value:int):void;
		
		function get itemRender():String;
		function set itemRender(value:String):void;
		
		function get selectedAble():Boolean;
		function set selectedAble(value:Boolean):void;
		
		function set showScrollBar(value:Boolean):void;
		function get showScrollBar():Boolean;
		
		function set showScrollButton(value:Boolean):void;
		function get showScrollButton():Boolean;
		
		
		function get length():uint;
		
		function set computedItemRenderName(value:String):void;
		function get computedItemRenderName():String;
		
		function addItem(value:Object):void;
		function removeItem(value:Object):void;
		
		function getItemByIndex(index:int):Object;
		function scrollToIndex(index:int):void;
		function scrollToItem(value:Object):void;
		function eachRender(callFunction:Function, args:Array):void;

	}
}